import {CommonModel} from "./commonModel.ts";

export namespace NAMESPACE_MENU {
    import Model = CommonModel.Model;
    import PageQuery = CommonModel.PageQuery;

    export interface MenuBase {
        parentId?: number
        name?: string
        intro?: string
        route?: string
        state?: number
        icon?: string
    }

    export interface MenuDel {
        ids: Array<number>
    }

    export interface MenuQuery extends MenuBase, Model,PageQuery {
    }

    export interface MenuItem extends MenuBase, Model {
        children:Array<MenuItem>
        icon: string
    }
}
